package Server.DataBase;

public class Teacher extends User implements ReportIF{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int maxHours;
	private int hours;
/**\
 * constructor
 * @param idUser
 * @param userName
 * @param password
 * @param permission
 * @param online
 * @param firstName
 * @param lastName
 * @param maxHours
 * @param hours
 */
	public Teacher(int idUser, String userName, String password,
			int permission, int online, String firstName, String lastName, int maxHours, int hours) {
		super(idUser, userName, password, permission, online, firstName, lastName);
		this.maxHours = maxHours;
		this.hours = hours;
	}
/**
 * 
 * @return hours teacher current
 */
	public int getHours() {
		return hours;
	}
/**
 * 
 * @return maxHours
 */
	public int getMaxHours() {
		return maxHours;
	}
	
	@Override
	public int getId() {
		return getIdUser();
	}

}
